blob: 983a04d5a2621dfd95557b7e34c22bc4b14b527b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
module.wasm: file format wasm 0x1
Section Details:
Type[2]:
- type[0] (f32, f64) -> i32
- type[1] (f32) -> i64
Function[2]:
- func[0] sig=0
- func[1] sig=1
Code[2]:
- func[0] size=8
- func[1] size=6
Custom:
- name: "name"
- func[0] local[0] <paramA>
- func[0] local[1] <paramB>
- func[0] local[2] <localA>
- func[0] local[3] <localB>
- func[1] local[0] <paramA>
- func[1] local[1] <localA>
Code Disassembly:
00002f func[0]:
000030: 01 7e | local[2] type=i64
000032: 01 7c | local[3] type=f64
000034: 41 00 | i32.const 0
000036: 0b | end
00003c func[1]:
00003d: 01 7e | local[1] type=i64
00003f: 42 00 | i64.const 0
000041: 0b | end
|